// 导入axios
import axios from '../utils/http';
// 请求菜单列表
// export async function getMenuList(){
//     const res =await axios.get('/menulist',{params:{istree:1}});
//     return res;
// }
export const getMenuList= ()=> axios.get('/menulist',{params:{istree:1}});